package com.jsjvm.shared.jdwp.events;

import com.jsjvm.shared.jdwp.data.JDWPLocation;

public class JDWPBreakPointEvent extends JDWPEvent {
	private JDWPLocation location;
	private int count;
	
	public JDWPBreakPointEvent(JDWPLocation location, int count) {
		this.location = location;
		this.count = count;
	}
	
	public JDWPLocation getLocation() {
		return location;
	}

	public int getCount() {
		return count;
	}

	@Override
	public EventKind getType() {
		return EventKind.BREAKPOINT;
	}
}
